do not end before try to do something