param checking updated