solves intro's problem