removes s
pattern matching ftw