What to know about flexible loans and how they work