got rid of cloning stack