removing boxing and unboxing

removing boxing and unboxing