removed params validation code