Required functionality done.