added new constants alternative functions
removed deprecated function