changed to hibernate validation