interface working with parse function