refactor start method
refactor check memory