remove object and use params