Added verification of data sent into init method