solved multiple definitions error