added ui parts and so on.