Carbon dating method definition in oop