reworking active record - get by id