complete the programming assignment