maybe the sligyfier should throw an exception on empty param?