add message functionalities to check ready