Removed not used function