added an overloaded parse method for callback msg