first improvement to php with more to come