Removed return 0 statement from void function