added check for altKey