implemented Shape UI