First try.can pass some examples