simplified variables at the beginning