modified compose main; working on compose time