Any ideas why this is not working or how to do it such that it is working?