changed pattern-matches to maybe