added initialize method to class Shortly