added View class instead of Raintpl