module functions due to firefox