fixed equation stuff