add putfield and getfield (integer only)