added getBottom method