starting work on problem two