working on more control flow statements