Code for my wearable overall project