Removed replace, unnecessary function