loc and block class option added