works for constants now