Code for application to Attensity Media