use constants when possible
added main-dev to test some stuff