Working glep checks code... hopefully all correct :)