Added tempo parameter to method