removed 'startsWith' in favour of 'isPrefixOf' from Data.List