solutions to 01-04