Microsoft patents an apple