move defaults to constant