wrote capped, has bug
fixed merge