trying to get panel working