first attempt at flower parser