for homework assignment