syntax and writing your own methods