fixed the inside

-still need to fix the repetitive contexts problem