creating figures