changed function name and cleaned up some grammar