add solutions to pass tests