added creati flag and trying to see the values printed out