first problem solution added