updates for function project 2