added magic values from franco kernel