attending functionality