using kwargs isntead of dict