unused func removed