removed unfinished function