Using layers for better garphics