making initialize return proper data