replaced the psl dict by a set