merged debug version and main version