towards compiling the lib impl. still getting code blow-up.