remove not needed function