and $keys = array() as default maybe?