got rid of unneeded tables in creation procedure