added zero function. it doesn't work