this is tedious, trying using jquery