also taking into account reference remarks, currently only the key is used to discern them. Should be key + remarks