added optimize/debug declarations