added generation of solution for existing marks