working on log in sequence