removed dependency on CSS