Finished stack, added comments.