problem: variables $2 and $3 are not working; they are empty