Top functionality added.