Removed not needed function