Removed documentation from function

will add to README