get rid of these and define them inline