beginning fucntions assignment