Removed unnecessary function following review