solutions 2nd class for now