Code modified for readability