fixed multiple definitions error.