Removed not necessary function