Layout Issue, and some other functionality