change exists? method to work with 187