console object API