Task3 in one file