corrected elsif