started adding part on functions