added zero function