completes hw3... sexily!