corrected code alignment