logic layer half done