maybe add a little phpdoc here too