altered paramater type on api methods