changed nested capsules slightly