Edit to use consts instead of literals