monkeying around

(slang) working or doing something in an irregular or unplanned way; tinkering