implemented drawing family module