test problem solution attempt