Use deg as an input