adding one liners and loop statements