finish Task F with bugs