Deleted now redundant code