made ground work for BUGS