implemented basic logic and graphic systems