removed not used function