added params feature in get() function