work in progress in retrieving styles asynchronously, this needs clean up but it works