added console log for testing