solver the beginning