modified for android wear.