Removed unnecessarry function