added func, updated readme