Added return code from main