first attempt at converting to composer