added John's changes, balanced the absolute pos.