Add some method for UI