added basic syntax and some list manipulation