adding a* goto method