reduced some params to reduce overhead