refatoring finger and updating example