adding wait schema
'this probably doesnt work'