remove magic numbers for trim method