might want to wrap this in a document ready