stupid refactoring to fix "strict standards error"