some frontend magic..