switched to framelayout