Added error logging when no modifier passed in