updated with suggestions from lecture