Need to make code init initially and then frame load automatically (not from method invocation).
Need to make code init initially and then frame load automatically (not from method invocation).