changed namespace + compatible php 5.3