makes work without location params