changed back to not receiving parameters through args