added method to check for empty station