Added attends functions.