added warning and example to readme which reflects the recent changes