inlined method that was only used once