Cleaned code, faulty attempt to indicate insert in stack