Created two local functions
local list functions to devices and compiling