added swing test