adding a couple more jlapi functions