removed double functions