started third part of assignment, might be working