better way to solve 45778e610