Fixed Non-Void Function Problem