add check for url param
bigger if