Added long constructor