updated to work with biicode