completed assignment3