Implemented class to make records