adding static keywords to functions
adding insert, update and delete functions