Implement homework05