Added pseudo for data-based constructor