alternative to sprites solution #5