moved some constants from application to reader