uses new ruby syntax