solving works, wrong startX value