removed params check