cleaned up some unused consts
added raw function docs