relocated ready handler