completed the logical layout