added phpDoc