Added supress warnings and deleted unnecessary mystack class